export default {
  title: 'MCPRepoMarket 文档',
  description: 'MCP协议Hub平台',
  // 设置暗黑主题为默认主题
  appearance: 'dark',
  base: '/docs/',
  ignoreDeadLinks: true,
  // 配置导航栏
  themeConfig: {
    logo: '/logo.png',
    nav: [
      { text: '首页', link: '/' },
      { text: '使用指南', link: '/guide/' },
      { text: 'API文档', link: '/api/' },
      { text: '开发文档', link: '/development/' },
      { text: '常见问题', link: '/faq/' },
      { text: '更新日志', link: '/changelog/' },
    ],
    // 配置侧边栏
    sidebar: {
      '/guide/': [
        {
          text: '使用指南',
          items: [
            { text: '简介', link: '/guide/' },
            { text: '快速开始', link: '/guide/getting-started' },
            { text: 'MCP协议简介', link: '/guide/mcp-protocol' },
            { text: '网站使用方法', link: '/guide/website-usage' },
            { text: 'MCP SERVER安装与使用', link: '/guide/server-usage' },
            { text: 'VS Code插件使用', link: '/guide/vscode-plugin' },
          ]
        }
      ],
      '/api/': [
        {
          text: 'API文档',
          items: [
            { text: '概述', link: '/api/' },
            { text: '认证与鉴权', link: '/api/authentication' },
            { text: 'MCP SERVER列表', link: '/api/server-list' },
            { text: 'MCP SERVER详情', link: '/api/server-detail' },
            { text: '评论接口', link: '/api/comments' },
            { text: 'Swagger API文档', link: '/api/swagger' },
          ]
        }
      ],
      '/development/': [
        {
          text: '开发文档',
          items: [
            { text: '开发概述', link: '/development/' },
            { text: '前端开发', link: '/development/frontend' },
            { text: '后端开发', link: '/development/backend' },
            { text: 'VS Code插件开发', link: '/development/vscode-plugin' },
            { text: '内部MCP SERVER开发流程', link: '/development/internal-server' },
            { text: 'Swagger文档设置指南', link: '/development/swagger-setup' },
            { text: 'iframe集成指南', link: '/development/iframe-integration' },
            { text: '贡献指南', link: '/development/contributing' },
          ]
        }
      ],
      '/faq/': [
        {
          text: '常见问题',
          items: [
            { text: '常见问题解答', link: '/faq/' },
            { text: '故障排查', link: '/faq/troubleshooting' },
          ]
        }
      ],
    },
    // 社交链接
    socialLinks: [
      { icon: 'github', link: 'https://github.com/your-repo/mcphub' }
    ],
    // 页脚
    footer: {
      message: 'MCPRepoMarket 文档系统',
      copyright: `Copyright © ${new Date().getFullYear()}`
    }
  }
} 